<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>

<%@include file="inc/head.inc"%>

<body>
<f:view>
	<t:dataTable styleClass="standardTable2"
		headerClass="standardTable_Header3" footerClass="standardTable_Header"
		rowClasses="standardTable_Row1,standardTable_Row2"
		columnClasses="standardTable_Column50, standardTable_ColumnCentered10, standardTable_ColumnCentered30, standardTable_ColumnCentered10"
		var="tematy" value="#{javaTopic2.themaList}">
		<f:facet name="header">
			<t:panelGrid styleClass="standardTable_Header2">
				<h:outputText
					value="#{javaTopic.category} -> #{javaTopic.subCategory}"
					styleClass="standard_bold" />
				<h:outputText value="Moderator: #{javaTopic.moderator}"
					styleClass="standard_bold3" />
			</t:panelGrid>
		</f:facet>
		<h:column>
			<f:facet name="header">
				<h:outputText value="Tematy" />
			</f:facet>
			<h:panelGrid columns="1">
				<h:outputText value="#{tematy.topic}" styleClass="standard_bold" />
				<h:outputText value="Autor: #{tematy.topicAuthor}"
					styleClass="standard_bold3" />
			</h:panelGrid>
		</h:column>
		<h:column>
			<f:facet name="header">
				<h:outputText value="Odpowiedzi" />
			</f:facet>
			<h:outputText value="12" styleClass="standard_bold3" />
		</h:column>
		<h:column>
			<f:facet name="header">
				<h:panelGrid styleClass="standardColumnTable_Header">
					<h:outputText value="Ostatni post" />
			    </h:panelGrid>
			</f:facet>
			<h:panelGrid columns="1" styleClass="standard3">
				<h:outputText value="#{tematy.time}" styleClass="standard3" />
				<h:outputText value="#{tematy.author}" styleClass="standard_bold4" />
			</h:panelGrid>
		</h:column>
		<h:column>
			<f:facet name="header">
				<h:outputText value="Wyświetleń" />
			</f:facet>
			<h:outputText value="17" styleClass="standard_bold3" />
		</h:column>
	</t:dataTable>
</f:view>
</body>


